﻿using System;
using System.Collections.Generic;
using System.Linq;

namespace SolutionOrchestrator
{
	public static class SourceControlExt
	{
		public static void TryCheckout(this ISourceControl sourceControl, string fullPath)
		{
			try
			{
				sourceControl.Checkout(fullPath);
			}
			catch (Exception ex)
			{
				XTrace.XTrace.Exception(ex);
			}
		}
	}
}
